﻿@using Microsoft.Extensions.Primitives

<div class="jumbotron">
    <h1>Log out</h1>
    <p class="lead text-left">Are you sure you want to sign out?</p>

    @using (Html.BeginForm())
    {
        @Html.AntiForgeryToken()

        @* Flow the request parameters so they can be received by the LogoutPost action: *@
        foreach (var parameter in Model.Parameters)
        {
            <input type="hidden" name="@parameter.Key" value="@parameter.Value" />
        }

        <input class="btn btn-lg btn-success" name="Confirm" type="submit" value="Yes" />
    }
</div>